make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
commit5ed510c302f44352c4141a773be5d3596298ccdf
treeac17e9ca72ec45b90eb6c59fb8eb4b5981af3447
parentcbf24cf09e4b67470b504ecfffb78738e3d31b54
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c